package br.org.etec.dotcao.service.jpa;

import java.util.List;

import br.org.etec.dotcao.model.State;
import br.org.etec.dotcao.model.StateRepository;
import br.org.etec.dotcao.service.StateService;

public class StateServiceImpl extends ServiceImpl<State> implements StateService{

	public StateServiceImpl() {
		super(State.class);
	}

	@Override
	public List<State> all(String name) {
		return ((StateRepository)repository()).all(name);
	}

}
